//
// Created by hps on 24-3-30.
//

#include "SearchButton.h"

namespace hps {

SearchButton::SearchButton() {
    m_icon = new QIcon("/home/hps/hps/Markdown-cpp/src/data/icon/search.svg");
    init();
}

void SearchButton::init() {
    this -> setObjectName("sideBarButton");
    this -> setIconSize(CONFIG() -> getIconQSize());
    this -> setIcon(*m_icon);
}
} // hps